<script setup>
import { ArrowLeft } from "@element-plus/icons-vue";
import { useRouter } from "vue-router";

const router = useRouter();
const routerBack = () => {
  router.back();
};
</script>

<template>
  <div>
    <el-button @click="routerBack" type="primary" text :icon="ArrowLeft" style="margin-bottom: 8px">返回</el-button>
  </div>
</template>

<style scoped lang="scss"></style>
